package com.pid.customerflow.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.pid.common.annotation.Excel;
import com.pid.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 大客户流程对象 workflow_bigcustomer
 * 
 * @author pid
 * @date 2022-03-01
 */
public class WorkflowBigcustomer extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private String id;
    private String taskName;

    @Override
    public String getCreateBy() {
        return createBy;
    }

    @Override
    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    private String createBy;
    public String getTaskName() {
        return taskName;
    }

    public void setTaskName(String taskName) {
        this.taskName = taskName;
    }

    /** 客户名称 */
    @Excel(name = "客户名称")
    private String customerName;

    /** 客户创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "客户创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date customerCreateTime;

    /** 附件 */
    @Excel(name = "附件")
    private String attachmentLink;

    /** 流程实例ID */
    @Excel(name = "流程实例ID")
    private String instanceId;

    /** 状态 */
    @Excel(name = "状态")
    private String state;

    /** 创建者名称 */
    @Excel(name = "创建者名称")
    private String createName;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    /** 锁定标志（0代表可修改 1代表锁定） */
    @Excel(name = "锁定标志", readConverterExp = "0=代表可修改,1=代表锁定")
    private String lockFlag;

    /** 废除标志（1代表废除） */
    @Excel(name = "废除标志", readConverterExp = "1=代表废除")
    private String abolishFlag;

    /** 备注 */
    @Excel(name = "备注")
    private String remarks;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setCustomerName(String customerName) 
    {
        this.customerName = customerName;
    }

    public String getCustomerName() 
    {
        return customerName;
    }
    public void setCustomerCreateTime(Date customerCreateTime) 
    {
        this.customerCreateTime = customerCreateTime;
    }

    public Date getCustomerCreateTime() 
    {
        return customerCreateTime;
    }
    public void setAttachmentLink(String attachmentLink) 
    {
        this.attachmentLink = attachmentLink;
    }

    public String getAttachmentLink() 
    {
        return attachmentLink;
    }
    public void setInstanceId(String instanceId) 
    {
        this.instanceId = instanceId;
    }

    public String getInstanceId() 
    {
        return instanceId;
    }
    public void setState(String state) 
    {
        this.state = state;
    }

    public String getState() 
    {
        return state;
    }
    public void setCreateName(String createName) 
    {
        this.createName = createName;
    }

    public String getCreateName() 
    {
        return createName;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }
    public void setLockFlag(String lockFlag) 
    {
        this.lockFlag = lockFlag;
    }

    public String getLockFlag() 
    {
        return lockFlag;
    }
    public void setAbolishFlag(String abolishFlag) 
    {
        this.abolishFlag = abolishFlag;
    }

    public String getAbolishFlag() 
    {
        return abolishFlag;
    }
    public void setRemarks(String remarks) 
    {
        this.remarks = remarks;
    }

    public String getRemarks() 
    {
        return remarks;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("customerName", getCustomerName())
            .append("customerCreateTime", getCustomerCreateTime())
            .append("attachmentLink", getAttachmentLink())
            .append("instanceId", getInstanceId())
            .append("state", getState())
            .append("createName", getCreateName())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("delFlag", getDelFlag())
            .append("lockFlag", getLockFlag())
            .append("abolishFlag", getAbolishFlag())
            .append("remarks", getRemarks())
            .toString();
    }
}
